﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Entities;
using MAPDavy.Repository;
using Microsoft.Practices.Unity;

namespace MAPDavy.BusinessLogic
{
    public class LoaderBL:ILoaderBL
    {
        [Dependency]
        public ILoaderRepository LoaderRepository { get; set; }

        public int RegistrarTutores(List<MAPTemplate> maps)
        {
            return LoaderRepository.RegistrarTutores(maps);
        }

        public int AsignarTutores(List<MAPTemplate> maps)
        {
            return LoaderRepository.AsignarTutores(maps);
        }

        public int RegistrarStudents(List<MAPTemplate> maps)
        {
            return LoaderRepository.RegistrarStudents(maps);
        }

        public int MatricularStudents(List<MAPTemplate> maps)
        {
            return LoaderRepository.MatricularStudents(maps);
        }
    }
}
